<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.xmppd.modules.muc.Room</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.xmppd-module.html">Package&nbsp;xmppd</a> ::
        <a href="spade.xmppd.modules-module.html">Package&nbsp;modules</a> ::
        <a href="spade.xmppd.modules.muc-module.html">Module&nbsp;muc</a> ::
        Class&nbsp;Room
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.xmppd.modules.muc.Room-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Room</h1><p class="nomargin-top"><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room">source&nbsp;code</a></span></p>
<p>A MUC room</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">muc</span>,
        <span class="summary-sig-arg">subject</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">template</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">creator</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">whitelist</span>=<span class="summary-sig-default">[]</span>,
        <span class="summary-sig-arg">blacklist</span>=<span class="summary-sig-default">[]</span>,
        <span class="summary-sig-arg">password</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getName"></a><span class="summary-sig-name">getName</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the room's true Name</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setName"></a><span class="summary-sig-name">setName</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">n</span>)</span><br />
      Set the room's true Name</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getRoomName"></a><span class="summary-sig-name">getRoomName</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the room's RoomName (display name)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getRoomName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setRoomName"></a><span class="summary-sig-name">setRoomName</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Set the room's RoomName (display name)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setRoomName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getSubject"></a><span class="summary-sig-name">getSubject</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the room's Subject (topic)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getSubject">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setSubject"></a><span class="summary-sig-name">setSubject</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Set the room's Subject (topic)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setSubject">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getRoomDesc"></a><span class="summary-sig-name">getRoomDesc</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the room's Description</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getRoomDesc">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setRoomDesc"></a><span class="summary-sig-name">setRoomDesc</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Set the room's Description</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setRoomDesc">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isLogging"></a><span class="summary-sig-name">isLogging</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check if message logging is enabled in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isLogging">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setLogging"></a><span class="summary-sig-name">setLogging</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Enable or disable message logging in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setLogging">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getLang"></a><span class="summary-sig-name">getLang</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the language used in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getLang">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setLang"></a><span class="summary-sig-name">setLang</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Set the language used in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setLang">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isChangeSubject"></a><span class="summary-sig-name">isChangeSubject</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the subject can be changed in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isChangeSubject">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setChangeSubject"></a><span class="summary-sig-name">setChangeSubject</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Allow or disallow users to change the subject of the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setChangeSubject">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isAllowInvites"></a><span class="summary-sig-name">isAllowInvites</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether invitations are allowed in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isAllowInvites">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAllowInvites"></a><span class="summary-sig-name">setAllowInvites</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Enable or disable invitations to the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setAllowInvites">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getMaxUsers"></a><span class="summary-sig-name">getMaxUsers</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Gets maximum number of concurrent users in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getMaxUsers">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setMaxUsers"></a><span class="summary-sig-name">setMaxUsers</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">m</span>)</span><br />
      Gets maximum number of concurrent users in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setMaxUsers">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getMinUsers"></a><span class="summary-sig-name">getMinUsers</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Gets minimum number of concurrent users in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getMinUsers">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setMinUsers"></a><span class="summary-sig-name">setMinUsers</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">m</span>)</span><br />
      Gets maximum number of concurrent users in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setMinUsers">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getPresenceBroadcast"></a><span class="summary-sig-name">getPresenceBroadcast</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the list of roles which receive presence stanzas broadcasted in 
      the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getPresenceBroadcast">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addPresenceBroadcast"></a><span class="summary-sig-name">addPresenceBroadcast</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Add a role to the list of roles which receive presence stanzas 
      broadcasted in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.addPresenceBroadcast">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="delPresenceBroadcast"></a><span class="summary-sig-name">delPresenceBroadcast</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Remove a role from the list of roles which receive presence stanzas 
      broadcasted in the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.delPresenceBroadcast">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isPublicRoom"></a><span class="summary-sig-name">isPublicRoom</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the room is public</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isPublicRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#setPublicRoom" class="summary-sig-name">setPublicRoom</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Stablish wether the room public or not.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPublicRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isPersistentRoom"></a><span class="summary-sig-name">isPersistentRoom</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the room is persistent</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isPersistentRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#setPersistentRoom" class="summary-sig-name">setPersistentRoom</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Set the persistency of the room.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPersistentRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isModeratedRoom"></a><span class="summary-sig-name">isModeratedRoom</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the room is moderated</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isModeratedRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#setModeratedRoom" class="summary-sig-name">setModeratedRoom</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Make the room (un)moderated.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setModeratedRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#isLockedDown" class="summary-sig-name">isLockedDown</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the room is locked down.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isLockedDown">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setLockedDown"></a><span class="summary-sig-name">setLockedDown</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Lock or unlock down the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setLockedDown">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isAllowRegister"></a><span class="summary-sig-name">isAllowRegister</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the room allows the registration process</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isAllowRegister">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAllowRegister"></a><span class="summary-sig-name">setAllowRegister</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Enable or disable the registration process to the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setAllowRegister">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isMembersOnly"></a><span class="summary-sig-name">isMembersOnly</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether the room is members-only</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isMembersOnly">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#setMembersOnly" class="summary-sig-name">setMembersOnly</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Set or unset the room to members-only.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setMembersOnly">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="isPasswordProtectedRoom"></a><span class="summary-sig-name">isPasswordProtectedRoom</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Check wether entrance to the room is protected by a password</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isPasswordProtectedRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#setPasswordProtectedRoom" class="summary-sig-name">setPasswordProtectedRoom</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">val</span>)</span><br />
      Enable or disable password-protection.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPasswordProtectedRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getPassword"></a><span class="summary-sig-name">getPassword</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the password of the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getPassword">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setPassword"></a><span class="summary-sig-name">setPassword</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Set the actual password of the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPassword">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getWhois"></a><span class="summary-sig-name">getWhois</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the whois permission</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getWhois">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#setWhois" class="summary-sig-name">setWhois</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Set the whois permission.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setWhois">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getRoomAdmins"></a><span class="summary-sig-name">getRoomAdmins</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the list of room admins</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getRoomAdmins">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addRoomAdmin"></a><span class="summary-sig-name">addRoomAdmin</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Add an admin to the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.addRoomAdmin">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="delRoomAdmin"></a><span class="summary-sig-name">delRoomAdmin</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Remove an admin from the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.delRoomAdmin">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getRoomOwners"></a><span class="summary-sig-name">getRoomOwners</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the list of room owners</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.getRoomOwners">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addRoomOwner"></a><span class="summary-sig-name">addRoomOwner</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Add a room owner</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.addRoomOwner">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#delRoomOwner" class="summary-sig-name">delRoomOwner</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Remove an owner from the room.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.delRoomOwner">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return a string representation of the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.__str__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="fullJID"></a><span class="summary-sig-name">fullJID</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns the room's full JID in the form of <i>room@muc.platform</i></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.fullJID">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="dispatch"></a><span class="summary-sig-name">dispatch</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">session</span>,
        <span class="summary-sig-arg">stanza</span>)</span><br />
      Mini-dispatcher for the jabber stanzas that arrive to the room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.dispatch">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="Message_cb"></a><span class="summary-sig-name">Message_cb</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">session</span>,
        <span class="summary-sig-arg">stanza</span>)</span><br />
      Manages messages directed to a room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.Message_cb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="Presence_cb"></a><span class="summary-sig-name">Presence_cb</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">session</span>,
        <span class="summary-sig-arg">stanza</span>)</span><br />
      Manages presence stanzas directed to a room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.Presence_cb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="IQ_cb"></a><span class="summary-sig-name">IQ_cb</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">session</span>,
        <span class="summary-sig-arg">iq</span>)</span><br />
      Manages IQ stanzas directed to a room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.IQ_cb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.xmppd.modules.muc.Room-class.html#reserveNick" class="summary-sig-name">reserveNick</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">jid</span>,
        <span class="summary-sig-arg">nick</span>=<span class="summary-sig-default">None</span>)</span><br />
      Reserve a nick in a the room.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.reserveNick">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="processRegistration"></a><span class="summary-sig-name">processRegistration</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">x</span>,
        <span class="summary-sig-arg">frm</span>,
        <span class="summary-sig-arg">stanza</span>,
        <span class="summary-sig-arg">session</span>)</span><br />
      Process the registration form (to a room) of a user</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.processRegistration">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="configRoom"></a><span class="summary-sig-name">configRoom</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">x</span>)</span><br />
      Configurate a room given a dataform with the desired configuration</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.configRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addParticipant"></a><span class="summary-sig-name">addParticipant</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">nick</span>,
        <span class="summary-sig-arg">fulljid</span>,
        <span class="summary-sig-arg">password</span>=<span class="summary-sig-default">None</span>)</span><br />
      Add a participant to a room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.addParticipant">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="deleteParticipant"></a><span class="summary-sig-name">deleteParticipant</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">fulljid</span>)</span><br />
      Delete a participant from a room</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.deleteParticipant">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAffiliation"></a><span class="summary-sig-name">setAffiliation</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">participant</span>,
        <span class="summary-sig-arg">affiliation</span>)</span><br />
      Set the affiliation of a participant</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setAffiliation">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="setPublicRoom"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setPublicRoom</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">val</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPublicRoom">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Stablish wether the room public or not. If a room is not public, then 
  it is hidden</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setPersistentRoom"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setPersistentRoom</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">val</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPersistentRoom">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the persistency of the room. If the room is not persistent, then 
  it is temporary</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setModeratedRoom"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setModeratedRoom</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">val</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setModeratedRoom">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Make the room (un)moderated. All the required notifications and role 
  changes will take effect</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="isLockedDown"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">isLockedDown</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.isLockedDown">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Check wether the room is locked down. A room is locked down while the 
  owner is configuring it for the first time</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setMembersOnly"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setMembersOnly</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">val</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setMembersOnly">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set or unset the room to members-only. If the rooms becomes 
  members-only, all the non-members, non-admins and non-owners participants
  will be miserably kicked out</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setPasswordProtectedRoom"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setPasswordProtectedRoom</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">val</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setPasswordProtectedRoom">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Enable or disable password-protection. Note that this method does NOT 
  set the password itself. To set the actual password use 
  <i>setPassword</i></p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setWhois"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setWhois</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.setWhois">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Set the whois permission. Possible values are:
- 'anyone' : the room is non-anonymous
- 'moderators' : the room is semi-anonymous
- '' (empty) : the room is fully-anonymous

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="delRoomOwner"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">delRoomOwner</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.delRoomOwner">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Remove an owner from the room. Will not work if there is only one 
  owner and tries to step down</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="reserveNick"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">reserveNick</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">jid</span>,
        <span class="sig-arg">nick</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.xmppd.modules.muc-pysrc.html#Room.reserveNick">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Reserve a nick in a the room. A jid can make a pre-reservation (nick 
  == None). If a jid already has a correct nick reserved, it cannot be 
  changed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed May 26 16:26:24 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
